home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
cm100exe.zip
/
CM100EXE.EXE
/
SAMPLES
/
COPY
/
MAKEFILE
next >
Wrap
Text File
|
1991-11-16
|
2KB
|
77 lines
/*****************************************************************************
* MAKEFILE
*
* PURPOSE: Copy some files.
*
* NOTE: None of the comments in this make file are required. They have
* been provided to help you understand how CMAKE handles each
* command. In other words, this make file could be reduced down to
* the following four commands:
*
* copy src\1.src trg\1.trg
* copy src\more\3.src trg
* copy src trg\12.trg
* copy src trg
*
*****************************************************************************/
/*****************************************************************************
* COPY FILE TO FILE
*
* The following COPY command will be executed only when one of the
* following conditions is true:
*
* 1. "trg\1.trg" does not exist.
* 2. "src\1.src" is newer than "trg\1.trg".
*
*****************************************************************************/
copy src\1.src trg\1.trg
/*****************************************************************************
* COPY FILE TO DIRECTORY
*
* The following COPY command will be executed only when one of the
* following conditions is true:
*
* 1. "trg\3.src" does not exist.
* 2. "src\more\3.src" is newer than "trg\3.src".
*
*****************************************************************************/
copy src\more\3.src trg
/*****************************************************************************
* COPY DIRECTORY TO FILE
*
* The following COPY command will always be executed.
*
*****************************************************************************/
copy src trg\12.trg
/*****************************************************************************
* COPY DIRECTORY TO DIRECTORY
*
* The COPY command:
*
* copy src\1.src trg\1.src
*
* will be executed only when one of the following conditions is true:
*
* 1. "trg\1.src" does not exist.
* 2. "src\1.src" is newer than "trg\1.src".
*
* The COPY command:
*
* copy src\2.src trg\2.src
*
* will be executed only when one of the following conditions is true:
*
* 1. "trg\2.src" does not exist.
* 2. "src\2.src" is newer than "trg\2.src".
*
*****************************************************************************/
copy src trg